home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / let_it_f.swf / scripts / DefineSprite_803 / frame_8 / DoAction.as
Text File  |  2008-11-12  |  481b  |  20 lines

  1. stop();
  2. _parent.gotoAndPlay(2);
  3. presser.onPress = function()
  4. {
  5.    if(_root.ended != true && _root.water_is_flowing != true && (_parent._currentframe == 1 || _parent._currentframe == 4 || _parent._currentframe == 7))
  6.    {
  7.       _parent.play();
  8.       _root.fanty.expression.gotoAndPlay(2);
  9.       _root.amountpumped += 5;
  10.    }
  11.    else if(_root.water_is_flowing == true)
  12.    {
  13.       _root.amountpumper = 100;
  14.       play();
  15.    }
  16. };
  17. presser.onRelease = function()
  18. {
  19. };
  20.